package com.spring.shiro.mapper;

import com.spring.shiro.entity.Role;
import com.spring.shiro.entity.RoleWithMenu;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleMapper extends Mapper<Role> {

    List<Role> findUserRole(String userName);

    List<RoleWithMenu> findById(Long roleId);

}
